package net.huashitong.supervision.insideDuCha.entity;

import com.sirdc.modules.core.entity.StringEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;
import java.util.Map;

/** 单位内部督查子任务
 * 子任务表
 */
@Entity
@Table(name = "inside_task_sub")
public class InsideSubTaskEntity extends StringEntity {
    private  String taskMainId;//主任务id
    private  String subTaskName;//子任务名称
    private  String subTaskCont;//子任务内容
    private String  situations;//办理情况
    private String problems;//问题
    private String nextPlan;//下一步计划
    private int timeType;// 任务周期类型 时间类型  1 单时限，2天，3 周，4 月，5 季 6 多时限
    private String cycleValue;//循c环值
    private String timeAging; // 任务时效 1 当前任务， 2 过期任务，，（超过时限，就是2 过期任务）
    private int valids;//任务有效标志
    private String remarks ;//任务备注
    private String fileIds;
    private String fileName;
    private String deptId; //单位id
    private String taskState;//任务状态  type /任务状态(0.待签收,1待反馈,2已反馈,3退回,4完成 。5已签收)
    private String backType;//反馈标志；
    private String remindDate;//时限时间
    private int    timeRound;



    @Transient
    private String roomName;

    private String roomId;


    @Transient
    private String userId;
    @Transient
    private String userName;

    @Transient
    private String userTaskId; //人员任务单号

    @Transient
    public String getUserTaskId() {
        return userTaskId;
    }

    public int getTimeRound() {
        return timeRound;
    }

    public void setTimeRound(int timeRound) {
        this.timeRound = timeRound;
    }

    public String getRemindDate() {
        return remindDate;
    }

    public void setRemindDate(String remindDate) {
        this.remindDate = remindDate;
    }

    public void setUserTaskId(String userTaskId) {
        this.userTaskId = userTaskId;
    }

    public String getRoomName() {
        return roomName;
    }

    public void setRoomName(String roomName) {
        this.roomName = roomName;
    }

    @Transient
    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getBackType() {
        return backType;
    }

    public void setBackType(String backType) {
        this.backType = backType;
    }

    @Transient
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    @Transient
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTaskState() {
        return taskState;
    }

    public void setTaskState(String taskState) {
        this.taskState = taskState;
    }

    @Transient
    private List<Map<String,Object>> subSituationFile;//子事项反馈汇总附件


    @Transient
    public List<Map<String, Object>> getSubSituationFile() {
        return subSituationFile;
    }

    public void setSubSituationFile(List<Map<String, Object>> subSituationFile) {
        this.subSituationFile = subSituationFile;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getTaskMainId() {
        return taskMainId;
    }

    public void setTaskMainId(String taskMainId) {
        this.taskMainId = taskMainId;
    }

    public String getSubTaskName() {
        return subTaskName;
    }

    public void setSubTaskName(String subTaskName) {
        this.subTaskName = subTaskName;
    }

    public String getSubTaskCont() {
        return subTaskCont;
    }

    public void setSubTaskCont(String subTaskCont) {
        this.subTaskCont = subTaskCont;
    }

    public String getSituations() {
        return situations;
    }

    public void setSituations(String situations) {
        this.situations = situations;
    }

    public String getProblems() {
        return problems;
    }

    public void setProblems(String problems) {
        this.problems = problems;
    }

    public String getNextPlan() {
        return nextPlan;
    }

    public void setNextPlan(String nextPlan) {
        this.nextPlan = nextPlan;
    }

    public int getTimeType() {
        return timeType;
    }

    public void setTimeType(int timeType) {
        this.timeType = timeType;
    }

    public String getCycleValue() {
        return cycleValue;
    }

    public void setCycleValue(String cycleValue) {
        this.cycleValue = cycleValue;
    }

    public String getTimeAging() {
        return timeAging;
    }

    public void setTimeAging(String timeAging) {
        this.timeAging = timeAging;
    }

    public int getValids() {
        return valids;
    }

    public void setValids(int valids) {
        this.valids = valids;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public String getFileIds() {
        return fileIds;
    }

    public void setFileIds(String fileIds) {
        this.fileIds = fileIds;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }
}
